package com.u.social.sale.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alex Wu
 * @since 2025-03-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long orderNo;

    private Integer payType;

    /**
     * 0-未支付，1-已支付，2-退款中，3-已退款
     */
    private Integer payStatus;

    /**
     * 0-待支付，1-待发货，2-已发货，3-已完成，4-已取消，5-退款中
     */
    private Integer orderStatus;

    /**
     * 订单实际价格
     */
    private BigDecimal orderPrice;

    /**
     * 收货地址id
     */
    private Integer shippingAddressId;

    private String shippingAddress;

    /**
     * 订单编号
     */
    private Long shippingNo;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;


}
